package com.buer.train.business.service;

import com.buer.train.business.domain.TrainTypeDO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 培训类型
 * @date 2021-05-24 16:04:11
 */
public interface TrainTypeService {
	
	TrainTypeDO get(Integer id);
	
	List<TrainTypeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(TrainTypeDO trainType);
	
	int update(TrainTypeDO trainType);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    PageInfo<TrainTypeDO> getTrainTypeList(Map<String, Object> map);

    TrainTypeDO getOne(Map<String, Object> map);
}
